Premmerce\UrlManager\PermalinkListener A

Total Complexity 65
Dependencies 2
Dependents 1
Total lines 373
Lines of code 247
Logical lines of code 134
Comment lines 62
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
addRewriteRules()
A
39 11 69
replaceProductLink()
S
55 5 19
getPolylangLangSlug()
S
57 5 15
__construct()
S
60 5 12
buildTermPath()
S
61 5 11
checkSeoPlugin()
S
69 5 6
replaceTermLink()
S
62 5 10
addParamsToPermalink()
S
58 4 15
getProductCategory()
S
61 4 13
getWcPrimaryTerm()
S
56 3 19
addPostParentLink()
S
63 3 11
replaceSlugWithSku()
S
64 3 9
registerFilters()
S
58 1 18
getProductBase()
S
69 2 7
getSeoPrimaryTerm()
S
69 2 7
isHierarchical()
S
80 1 3
checkWpmlPlugin()
S
80 1 3